<template>
  <view class="notice">
    <view class="wrap pad20">
      <view class="flex">
        <image
          class="icon-notice"
          src="/static/icon/icon-notice.png"
          mode="widthFix"
        ></image>
        <view class="line"> </view>
        <u-notice-bar
          class="notice-bar"
          :volume-icon="false"
          mode="vertical"
          :font-size="22"
          color="#999999"
          :list="noticeList"
        ></u-notice-bar>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  props: ["noticeList"],
  data() {
    return {}
  },
}
</script>
<style lang="scss" scoped>
.notice {
  margin: 20upx;
  .wrap {
    background: #fff;
    .flex {
      display: flex;
      align-items: center;
      .icon-notice {
        position: relative;
        width: 100upx;
        height: 50upx;
      }
      .line {
        height: 30upx;
        width: 2upx;
        margin-left: 20upx;
        background: #d6d6d6;
      }
      .notice-bar {
        flex: 1;
      }
    }
  }
}
</style>
